gtk4.git
21 years agoGo back to the initial fix for the focus-overdrawing problem, which was
Matthias Clasen [Tue, 18 May 2004 17:50:04 +0000 (17:50 +0000)]
Go back to the initial fix for the focus-overdrawing problem, which was

2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c: Go back to the initial fix for the
focus-overdrawing problem, which was actually correct
according to docs/widget_geometry.txt.

* gtk/gtkarrow.c (gtk_arrow_class_init): Bump the initial
arrow size from 11 to 15 to compensate for that.

21 years agoDocument the arguments of the ::move-cursor signal. (#142725)
Matthias Clasen [Tue, 18 May 2004 17:30:58 +0000 (17:30 +0000)]
Document the arguments of the ::move-cursor signal. (#142725)

2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_class_init): Document the
arguments of the ::move-cursor signal.  (#142725)

21 years agoAllocate space for the focus rectangle only if necessary. (#142668,
Matthias Clasen [Mon, 17 May 2004 18:51:24 +0000 (18:51 +0000)]
Allocate space for the focus rectangle only if necessary. (#142668,

2004-05-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c (gtk_button_size_request)
(gtk_button_size_allocate, _gtk_button_paint): Allocate
space for the focus rectangle only if necessary.  (#142668,
Michael Natterer)

21 years agoRemove two useless lines. (#142479, Morten Welinder)
Matthias Clasen [Mon, 17 May 2004 03:16:35 +0000 (03:16 +0000)]
Remove two useless lines. (#142479, Morten Welinder)

* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines.  (#142479, Morten Welinder)

21 years agoMerged from 2.4
Matthias Clasen [Mon, 17 May 2004 03:08:15 +0000 (03:08 +0000)]
Merged from 2.4

Sun May 16 22:53:47 2004  Matthias Clasen  <maclas@gmx.de>

        Merged from 2.4

* io-pnm.c (pnm_read_next_value): Don't read integers
partially.  (#142584, Kouichirou Hiratsuka)

21 years agoAdd a Q_() macro.
Matthias Clasen [Mon, 17 May 2004 02:33:18 +0000 (02:33 +0000)]
Add a Q_() macro.

Sun May 16 22:27:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkintl.h (Q_): Add a Q_() macro.

* gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN
and GTK_PROGRESS_CELL_FAILED. With the ability the set the label,
they are not really needed.

* gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties
instead of hardwired padding, use Q_() for the default label,
compute a reasonable minimal size.  (#142571, #142572, #142573,
Tommi Komulainen, Christian Persch)

21 years agoPut back the ref_count field in the GdkDragContextPrivateWin32 struct (but
Tor Lillqvist [Sat, 15 May 2004 04:18:08 +0000 (04:18 +0000)]
Put back the ref_count field in the GdkDragContextPrivateWin32 struct (but

2004-05-15  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the
GdkDragContextPrivateWin32 struct (but inside ifdef OLE2_DND this
time). It is used by the OLE2_DND code, which is unfinished and
presumably horribly broken, but still, let's not make it not
compile on purpose. Silence some gcc warnings in the OLE2_DND
code.

21 years agoNew function to go from tree window to tree coordinates, kept static for
Matthias Clasen [Fri, 14 May 2004 18:05:07 +0000 (18:05 +0000)]
New function to go from tree window to tree coordinates, kept static for

2004-05-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords):
New function to go from tree window to tree coordinates, kept
static for now until we figure out the multiple coordinate
system mess in GtkTreeView API-wise.
(gtk_tree_view_scroll_to_cell): Transform the coordinates
from tree window to tree coordinates, using the new function.
Previously, the x coordinate was wrongly transformed. (#142494)

21 years agoMinor update.
Matthias Clasen [Fri, 14 May 2004 13:53:37 +0000 (13:53 +0000)]
Minor update.

21 years agoAdd a comment about unused bits.
Matthias Clasen [Fri, 14 May 2004 13:37:07 +0000 (13:37 +0000)]
Add a comment about unused bits.

2004-05-14  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdktypes.h (GdkModifierType): Add a comment about unused
bits.

* gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused
modifier bit to mark stock item which need to be freed
eventually.  (#140654, Michal Pasternak, Scott Tsai)

21 years agoAdd missing call to g_object_ref in Wintab code. (#138341)
Robert Ögren [Wed, 12 May 2004 23:30:27 +0000 (23:30 +0000)]
Add missing call to g_object_ref in Wintab code. (#138341)

2004-05-11  Robert Ögren  <gtk@roboros.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Add missing
call to g_object_ref in Wintab code. (#138341)

* gdk/win32/gdkinput-win32.c: Fix numerous Wintab problems
including unallocated buffers for event->motion.axes and
event->button.axes, unsigned wraparound problem in the code for
detecting missing press/release events and assigning min instead
of max when setting up axes.

21 years agoAdd a progress cell renderer, based on the one found in Epiphany.
Matthias Clasen [Wed, 12 May 2004 16:07:44 +0000 (16:07 +0000)]
Add a progress cell renderer, based on the one found in Epiphany.

21 years agoAdditions.
Matthias Clasen [Wed, 12 May 2004 04:32:16 +0000 (04:32 +0000)]
Additions.

Wed May 12 00:30:57 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/tmpl/gcs.sgml: Additions.

21 years agodon't allocate the popup smaller than the combobox. Fixes bug #59660.
Michael Natterer [Tue, 11 May 2004 19:15:56 +0000 (19:15 +0000)]
don't allocate the popup smaller than the combobox. Fixes bug #59660.

2004-05-11  Michael Natterer  <mitch@gimp.org>

* gtk/gtkcombobox.c (gtk_combo_box_popup)
(gtk_combo_box_menu_button_press): don't allocate the popup
smaller than the combobox. Fixes bug #59660.

21 years agoRevert the previous change to this function, clarify the docs instead.
Matthias Clasen [Tue, 11 May 2004 17:26:48 +0000 (17:26 +0000)]
Revert the previous change to this function, clarify the docs instead.

2004-05-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Revert the
previous change to this function, clarify the docs instead.

21 years agoUse GTK_SELECTION_BROWSE.
Matthias Clasen [Tue, 11 May 2004 13:44:09 +0000 (13:44 +0000)]
Use GTK_SELECTION_BROWSE.

2004-05-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use
GTK_SELECTION_BROWSE.

* gtk/gtktreeview.c: Make hover selection work for
GTK_SELECTION_BROWSE as well.

21 years agoDocument the selection modes here, rather than in the docs of deprecated
Matthias Clasen [Tue, 11 May 2004 13:23:17 +0000 (13:23 +0000)]
Document the selection modes here, rather than in the docs of deprecated

2004-05-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkenums.sgml: Document the selection modes here,
rather than in the docs of deprecated list widgets.

21 years agoDocument the ::toggled signal.
Matthias Clasen [Tue, 11 May 2004 04:39:57 +0000 (04:39 +0000)]
Document the ::toggled signal.

Tue May 11 00:38:25 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init):
Document the ::toggled signal.

21 years agoAdd deprecation notes.
Matthias Clasen [Tue, 11 May 2004 04:32:13 +0000 (04:32 +0000)]
Add deprecation notes.

Tue May 11 00:29:53 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkpixmap.sgml:
* gtk/tmpl/gtkoldeditable.sgml:
* gtk/tmpl/gtklistitem.sgml:
* gtk/tmpl/gtklist.sgml:
* gtk/tmpl/gtkitemfactory.sgml:
* gtk/tmpl/gtkctree.sgml:
* gtk/tmpl/gtkclist.sgml: Add deprecation notes.

21 years agoForgotten commit.
Matthias Clasen [Tue, 11 May 2004 04:16:53 +0000 (04:16 +0000)]
Forgotten commit.

21 years agoMake static.
Matthias Clasen [Mon, 10 May 2004 21:13:41 +0000 (21:13 +0000)]
Make static.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (get_screen_icon_info):
Make static.

21 years agoForgotten commit
Matthias Clasen [Mon, 10 May 2004 21:10:28 +0000 (21:10 +0000)]
Forgotten commit

21 years agoAdd prototype for _gtk_widget_grab_notify()
Soeren Sandmann [Mon, 10 May 2004 21:10:25 +0000 (21:10 +0000)]
Add prototype for _gtk_widget_grab_notify()

Mon May 10 23:04:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwidget.h: Add prototype for _gtk_widget_grab_notify()

21 years agoMake static.
Matthias Clasen [Mon, 10 May 2004 20:51:19 +0000 (20:51 +0000)]
Make static.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkdisplay.c (singlehead_...):
* gdk/x11/gdkkeys-x11.c (get_effective_keymap):
* gdk/x11/gdkgeometry-x11.c (expose_serial_predicate):
* gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static.

21 years agoAdd gtk_menu_get_for_attach_widet, gtk_tree_view_get_fixed_height_mode,
Matthias Clasen [Mon, 10 May 2004 20:28:44 +0000 (20:28 +0000)]
Add gtk_menu_get_for_attach_widet, gtk_tree_view_get_fixed_height_mode,

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add gtk_menu_get_for_attach_widet,
gtk_tree_view_get_fixed_height_mode,
gtk_tree_view_set_fixed_height_mode,
gtk_tree_view_get_hover_selection,
gtk_tree_view_set_hover_selection

* gdk/gdk-sections.txt: Add gdk_window_set_user_time().

* gdk-pixbuf/gdk-pixbuf.sgml:
* gtk/gtk-docs.sgml:
* gdk/gdk-docs.sgml: Add an index for 2.6 additions.

21 years agoAdd a note about COLUMN_FIXED restriction.
Matthias Clasen [Mon, 10 May 2004 20:27:27 +0000 (20:27 +0000)]
Add a note about COLUMN_FIXED restriction.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a
note about COLUMN_FIXED restriction.

21 years ago_-prefix the nonstatic pixops_... functions. (#142233, Morten Welinder)
Matthias Clasen [Mon, 10 May 2004 19:42:59 +0000 (19:42 +0000)]
_-prefix the nonstatic pixops_... functions. (#142233, Morten Welinder)

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* pixops/timescale.c:
* pixops/pixops.c:
* pixops/pixops.h:
* gdk-pixbuf-scale.c: _-prefix the nonstatic pixops_...
functions.  (#142233, Morten Welinder)

21 years agoSet the entry in the default handler of the ::match-selected signal.
Matthias Clasen [Mon, 10 May 2004 19:10:27 +0000 (19:10 +0000)]
Set the entry in the default handler of the ::match-selected signal.

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press):
Set the entry in the default handler of the ::match-selected signal.
(#137226)

21 years agoIf we don't do the move-selected-item below pointer thingie, do the
Matthias Clasen [Mon, 10 May 2004 18:17:47 +0000 (18:17 +0000)]
If we don't do the move-selected-item below pointer thingie, do the

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): If we don't
do the move-selected-item below pointer thingie, do the
place-below-or-above one.

21 years agoMake the second example use the ::match-selected signal to make it
Matthias Clasen [Mon, 10 May 2004 17:55:49 +0000 (17:55 +0000)]
Make the second example use the ::match-selected signal to make it

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* tests/testentrycompletion.c: Make the second example use the
::match-selected signal to make it actually work.

21 years agoUse hover selection mode. (#127648, Dave Bordoley)
Matthias Clasen [Mon, 10 May 2004 17:15:14 +0000 (17:15 +0000)]
Use hover selection mode. (#127648, Dave Bordoley)

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_init):
* gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection
mode.  (#127648, Dave Bordoley)

* gtk/gtktreeview.h:
* gtk/gtktreeview.c: Add a new property "hover_selection", which
when TRUE makes the selection follow the mouse. Also add setter
and getter for the fixed_height property.

21 years agoMake sure the menu pops up as wide as the combobox. (#59660, Havoc
Matthias Clasen [Mon, 10 May 2004 15:44:48 +0000 (15:44 +0000)]
Make sure the menu pops up as wide as the combobox. (#59660, Havoc

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_popup)
(gtk_combo_box_menu_button_press): Make sure the menu pops up
as wide as the combobox.  (#59660, Havoc Pennington)

21 years agoSupport tearoffable combo boxes (in menu mode). Add a new property,
Matthias Clasen [Mon, 10 May 2004 14:07:35 +0000 (14:07 +0000)]
Support tearoffable combo boxes (in menu mode). Add a new property,

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Support tearoffable combo boxes (in menu
mode). Add a new property, add-tearoffs, for this.  (#135956)

21 years agoMake Return activate the default button. (#118921)
Matthias Clasen [Mon, 10 May 2004 13:27:52 +0000 (13:27 +0000)]
Make Return activate the default button. (#118921)

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontsel.c (list_row_activated): Make Return activate the
default button.  (#118921)

21 years agoNew internal function that emits the grab notify signal.
Soeren Sandmann [Mon, 10 May 2004 13:18:14 +0000 (13:18 +0000)]
New internal function that emits the grab notify signal.

Mon May 10 15:03:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwidget.c (_gtk_widget_grab_notify): New internal function
that emits the grab notify signal.

* gtk/gtkmain.c (gtk_grab_notify_foreach): Use it here.

21 years agoFix a naming blunder.
Matthias Clasen [Mon, 10 May 2004 04:51:13 +0000 (04:51 +0000)]
Fix a naming blunder.

21 years agoMake destruction of a torn off menu work like un-tearing off.
Matthias Clasen [Mon, 10 May 2004 04:49:11 +0000 (04:49 +0000)]
Make destruction of a torn off menu work like un-tearing off.

Mon May 10 00:48:08 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenu.c: Make destruction of a torn off menu work
like un-tearing off.

21 years agoMerge from 2.4:
Matthias Clasen [Mon, 10 May 2004 01:14:20 +0000 (01:14 +0000)]
Merge from 2.4:

Sun May  9 21:05:38 2004  Matthias Clasen  <maclas@gmx.de>

        Merge from 2.4:

* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Allow to suppress the stock accelerator by using "".  (#142196,
David A Knight)

21 years agosomehow lost yesterday ...
Hans Breuer [Sun, 9 May 2004 11:25:35 +0000 (11:25 +0000)]
somehow lost yesterday ...

21 years agoIn list mode, accept the same mouse/wheel bindings on the cellview as on
Matthias Clasen [Sun, 9 May 2004 06:01:57 +0000 (06:01 +0000)]
In list mode, accept the same mouse/wheel bindings on the cellview as on

Sun May  9 01:57:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_list_button_released):
In list mode, accept the same mouse/wheel bindings on
the cellview as on the button.  (#136967)

21 years agoActually count the cached icons. (#135888, Crispin Flowerday)
Matthias Clasen [Sun, 9 May 2004 05:30:47 +0000 (05:30 +0000)]
Actually count the cached icons. (#135888, Crispin Flowerday)

Sun May  9 01:25:37 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.c (add_to_cache): Actually count the
cached icons.  (#135888, Crispin Flowerday)

21 years agoMake sure that we actually return menus for nodes of type menu, not the
Matthias Clasen [Sun, 9 May 2004 04:03:59 +0000 (04:03 +0000)]
Make sure that we actually return menus for nodes of type menu, not the

Sun May  9 00:03:03 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Make sure
that we actually return menus for nodes of type menu, not the
menuitems they're attached to.

21 years agoAdd a note regarding UTF-8 requirements, proposed by Mariano
Matthias Clasen [Sun, 9 May 2004 02:52:24 +0000 (02:52 +0000)]
Add a note regarding UTF-8 requirements, proposed by Mariano

Sat May  8 22:50:55 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain):
Add a note regarding UTF-8 requirements, proposed by
Mariano Suárez-Alvarez.

21 years agoPut the torn_off flag back into the GtkTearoffMenuItem struct, since it is
Matthias Clasen [Sun, 9 May 2004 02:46:20 +0000 (02:46 +0000)]
Put the torn_off flag back into the GtkTearoffMenuItem struct, since it is

Sat May  8 22:43:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktearoffmenuitem.h:
* gtk/gtktearoffmenuitem.c: Put the torn_off flag back
into the GtkTearoffMenuItem struct, since it is used
by the Gimp, and keep it synchronized with the
tearoff_state property of the parent menu.

21 years agofinally also create the correct mask for 'pseudo mime' icons
Hans Breuer [Sat, 8 May 2004 16:25:15 +0000 (16:25 +0000)]
finally also create the correct mask for 'pseudo mime' icons

2004-05-08  Hans Breuer  <hans@breuer.org>

* gtk/gtkfilesystemwin32.c (extract_icon) : finally also
create the correct mask for 'pseudo mime' icons

* gdk/win32/gdkwindow-win32.c(show_window_internal) : also
take focus_on_map into account

* gtk/gtkselection.c : g_message() only with DEBUG_SELECTION

* gtk/gtkactiongroup.c gtk/gtkcombobox.c :
... must return a value

* gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated

21 years agoDon't let the child draw over the focus rectangle.
Matthias Clasen [Fri, 7 May 2004 15:26:35 +0000 (15:26 +0000)]
Don't let the child draw over the focus rectangle.

2004-05-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c (gtk_button_size_allocate): Don't let the child
draw over the focus rectangle.

21 years agoDraw focus indication in the color wheel using standard focus style.
Matthias Clasen [Fri, 7 May 2004 14:52:10 +0000 (14:52 +0000)]
Draw focus indication in the color wheel using standard focus style.

2004-05-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkhsv.c: Draw focus indication in the color wheel using
standard focus style.  (#63071, Bill Haneman, idea for new
style by Owen Taylor)

* gtk/gtkstyle.c (gtk_default_draw_focus): Support drawing on
focus on the colorwheel via details.

21 years agoFix example. (Steffen Röcker)
Matthias Clasen [Fri, 7 May 2004 05:22:22 +0000 (05:22 +0000)]
Fix example. (Steffen Röcker)

Fri May  7 01:21:14 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkicontheme.sgml: Fix example.  (Steffen Röcker)

21 years agoMake the tearoff functionality model/view, the tearoffmenuitem being the
Matthias Clasen [Fri, 7 May 2004 04:43:56 +0000 (04:43 +0000)]
Make the tearoff functionality model/view, the tearoffmenuitem being the

Fri May  7 00:41:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktearoffmenuitem.h:
* gtk/gtktearoffmenuitem.c: Make the tearoff
functionality model/view, the tearoffmenuitem being
the view and the tearoff_state property of the menu
being the model.  (#101185, Owen Taylor)

* gtk/gtkmenu.c: Add a tearoff_state property.

21 years agoMerge from 2.4:
Matthias Clasen [Fri, 7 May 2004 03:55:39 +0000 (03:55 +0000)]
Merge from 2.4:

Thu May  6 23:52:13 2004  Matthias Clasen  <maclas@gmx.de>

Merge from 2.4:

* gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Also
popup the submenu for items in torn off menus.  (#122051)

21 years agoReverse accidental commit.
Matthias Clasen [Thu, 6 May 2004 20:14:46 +0000 (20:14 +0000)]
Reverse accidental commit.

21 years agoin RTL mode, position the title lable next to the arrow just as we do for
Sven Neumann [Thu, 6 May 2004 15:40:18 +0000 (15:40 +0000)]
in RTL mode, position the title lable next to the arrow just as we do for

2004-05-06  Sven Neumann  <sven@gimp.org>

* gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
position the title lable next to the arrow just as we do for LTR
rendering. Fixes bug #141825.

21 years agoDocument the new policy of bumping version numbers after release.
Matthias Clasen [Thu, 6 May 2004 13:38:02 +0000 (13:38 +0000)]
Document the new policy of bumping version numbers after release.

2004-05-06  Matthias Clasen  <mclasen@redhat.com>

* docs/RELEASE-HOWTO: Document the new policy of
bumping version numbers after release.

* configure.in: Bump version number to 2.5.0.

21 years agoAdd new function gtk_menu_get_for_attach_widget. (bug #113112).
Padraig O'Briain [Thu, 6 May 2004 07:35:26 +0000 (07:35 +0000)]
Add new function gtk_menu_get_for_attach_widget. (bug #113112).

2004-05-06  Padraig O'Briain  <padraig.obriain@sun.com>

* gtk/gtkmenu.h:
* gtk/gtkmenu.c: Add new function gtk_menu_get_for_attach_widget.
(bug #113112).

21 years agoForgotten ChangeLog
Matthias Clasen [Thu, 6 May 2004 05:28:32 +0000 (05:28 +0000)]
Forgotten ChangeLog

21 years agoNew function to translate a string with translate_func. (#135740)
Matthias Clasen [Thu, 6 May 2004 04:25:45 +0000 (04:25 +0000)]
New function to translate a string with translate_func. (#135740)

Thu May  6 00:24:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.h:
* gtk/gtkactiongroup.c (gtk_action_group_translate_string):
New function to translate a string with translate_func.
(#135740)

21 years agoAdd missing getters for readwrite properies. (#135649)
Matthias Clasen [Thu, 6 May 2004 04:06:35 +0000 (04:06 +0000)]
Add missing getters for readwrite properies. (#135649)

Thu May  6 00:02:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_get_wrap_width):
(gtk_combo_box_get_row_span_column):
(gtk_combo_box_get_column_span_column): Add missing getters
for readwrite properies. (#135649)

21 years agoAdd gtk_combo_box_get_active_text() convenience function. (#136372,
Matthias Clasen [Thu, 6 May 2004 03:49:15 +0000 (03:49 +0000)]
Add gtk_combo_box_get_active_text() convenience function. (#136372,

Wed May  5 23:42:42 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_active_text):
Add gtk_combo_box_get_active_text() convenience
function. (#136372, Christian Neumeir, patch by Olivier Andrieu)

21 years agoNew format flag GDK_PIXBUF_FORMAT_SCALABLE to mark scalable formats.
Matthias Clasen [Thu, 6 May 2004 03:14:07 +0000 (03:14 +0000)]
New format flag GDK_PIXBUF_FORMAT_SCALABLE to mark scalable formats.

Wed May  5 23:09:48 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-io.h (GdkPixbufFormatFlags): New format flag
GDK_PIXBUF_FORMAT_SCALABLE to mark scalable formats.

* gdk-pixbuf.h:
* gdk-pixbuf-io.c (gdk_pixbuf_format_is_scalable): New function.
(#137995, Dom Lachowicz)

21 years agoChanges to support do-not-focus-on-map hint in conjunction with
Elijah Newren [Thu, 6 May 2004 02:57:01 +0000 (02:57 +0000)]
Changes to support do-not-focus-on-map hint in conjunction with

2004-05-05  Elijah Newren  <newren@math.utah.edu>

Changes to support do-not-focus-on-map hint in conjunction with
_NET_WM_USER_TIME (#115650):

* gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
field focus_on_map

* gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
set it.

* gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map"
and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map().

* gdk/win32/gdkwindow-win32.c (gdk_window_new):
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
* gdk/x11/gdkwindow-x11.c (gdk_window_new):
Initialize the focus_on_map field to TRUE.

* gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map):
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map):
* gdk/x11/gdkwindow-x11.c (setup_toplevel_window):
Implementations for the various backends. The Win32 and linux-fb
implementations set the focus_on_map field, but don't use it yet
to actually implement noinput windows. The X implementation sets
_NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH).

* gdk/x11/gdkwindow-x11.h:
* gdk/x11/gdkevents-x11.c (set_user_time):
* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
* gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time):
s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/,
since we want that function to be part of the public API.

21 years agoMerge from 2.4:
Matthias Clasen [Thu, 6 May 2004 02:42:04 +0000 (02:42 +0000)]
Merge from 2.4:

Wed May  5 22:20:21 2004  Matthias Clasen  <maclas@gmx.de>

Merge from 2.4:

* gtk/gtkiconfactory.c (icon_source_clear): Don't
call g_free() on a pixbuf.  (#141961, Crispin Flowerday)

21 years agoAdd multiple indices.
Matthias Clasen [Wed, 5 May 2004 17:36:29 +0000 (17:36 +0000)]
Add multiple indices.

2004-05-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-docs.sgml:
* gdk-pixbuf/gdk-pixbuf.sgml:
* gdk/gdk-docs.sgml: Add multiple indices.

21 years agoMerge from 2.4:
Matthias Clasen [Wed, 5 May 2004 16:44:52 +0000 (16:44 +0000)]
Merge from 2.4:

2004-05-05  Matthias Clasen  <mclasen@redhat.com>

Merge from 2.4:

* gtk/gtkuimanager.c (print_node): Make the output
parseable.  (#141929, Sven Neumann)

21 years agoAdd multi-monitor offset. (#141842, John Ehresman)
Tor Lillqvist [Wed, 5 May 2004 02:18:21 +0000 (02:18 +0000)]
Add multi-monitor offset. (#141842, John Ehresman)

2004-05-05  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
multi-monitor offset. (#141842, John Ehresman)

21 years agoMove aside ChangeLog for 2.4
Owen Taylor [Tue, 4 May 2004 20:12:19 +0000 (20:12 +0000)]
Move aside ChangeLog for 2.4

21 years agoFix the dtd.
Matthias Clasen [Tue, 4 May 2004 18:24:31 +0000 (18:24 +0000)]
Fix the dtd.

21 years agoFixes #139562, based on a patch by Christian Neumair.
Federico Mena Quintero [Tue, 4 May 2004 17:53:13 +0000 (17:53 +0000)]
Fixes #139562, based on a patch by Christian Neumair.

2004-05-04  Federico Mena Quintero  <federico@ximian.com>

Fixes #139562, based on a patch by Christian Neumair.

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
a filter_combo_hbox field to contain the filter combo.
(show_filters): Show/hide the filter_combo_hbox.
(create_filename_entry_and_filter_combo): Removed.
(file_pane_create): Create the filter_combo_hbox here.

21 years agoFix the recent string_conversion_callback change to work on Solaris.
Matthias Clasen [Tue, 4 May 2004 17:05:20 +0000 (17:05 +0000)]
Fix the recent string_conversion_callback change to work on Solaris.

2004-05-04  Matthias Clasen  <mclasen@redhat.com>

* modules/input/gtkimcontextxim.c: Fix the recent
string_conversion_callback change to work on
Solaris.  (#141190, Padraig O'Briain)

21 years agoDisable debug logging again.
Matthias Clasen [Tue, 4 May 2004 16:59:57 +0000 (16:59 +0000)]
Disable debug logging again.

2004-05-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c: Disable debug logging again.

21 years agoMake the chunk size for incremental transfers depend on the maximal
Matthias Clasen [Mon, 3 May 2004 19:53:23 +0000 (19:53 +0000)]
Make the chunk size for incremental transfers depend on the maximal

2004-05-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c: Make the chunk size for
incremental transfers depend on the maximal request
size, capped at 256k. This should allow most selections
to be transferred nonincrementally, avoiding many
roundtrips and protocol overhead.

21 years agoCall g_signal_new() correctly and initialize the signal fields. Fixes
Federico Mena Quintero [Mon, 3 May 2004 18:55:50 +0000 (18:55 +0000)]
Call g_signal_new() correctly and initialize the signal fields. Fixes

2004-05-03  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkuimanager.c (gtk_ui_manager_class_init): Call
g_signal_new() correctly and initialize the signal fields.  Fixes
#141749; patch based on Michael Natterer's.

21 years agou2004-05-03 Matthias Clasen <mclasen@redhat.com>
Matthias Clasen [Mon, 3 May 2004 17:18:51 +0000 (17:18 +0000)]
u2004-05-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c (_gtk_selection_request): Fix
a debug message to show correct information.
(_gtk_selection_incr_event): Make INCRemental transfer
of MULTIPLE targets work. This was broken since 1997!

21 years agoupdated Walloon file
Pablo Saratxaga [Mon, 3 May 2004 12:17:07 +0000 (12:17 +0000)]
updated Walloon file

21 years agodon't modify the passed in GdkSegment(s) in place, we may get them again
Hans Breuer [Sun, 2 May 2004 13:20:49 +0000 (13:20 +0000)]
don't modify the passed in GdkSegment(s) in place, we may get them again

2004-05-02  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkdrawable-win32.c (draw_segments) : don't
modify the passed in GdkSegment(s) in place, we may get
them again to draw at the same place. Fixes bug #129095,
bug #137177, ...
(draw_segments) draw the end pixel again to get the
pixmap mask right, fixes bug #126710, #130202

* gdk/win32/gdkwindow-win32.c : use SetForegroundWindow,
fixes bug #106013, John Ehresman

* gtk/makefile.msc.in : don't try to link gtk.res but
use gtk-win32.res (as supposed to be fixed below :)

21 years agotests/makefile.msc is in CVS for a long time, finally added to EXTRA_DIST
Hans Breuer [Sat, 1 May 2004 13:54:33 +0000 (13:54 +0000)]
tests/makefile.msc is in CVS for a long time, finally added to EXTRA_DIST

2004-05-01  Hans Breuer  <hans@breuer.org>

* tests/Makefile.am : tests/makefile.msc is in CVS for
a long time, finally added to EXTRA_DIST : fixes bug
#141334, John Ehresman

21 years ago=== Released 2.4.1 ===
Matthias Clasen [Fri, 30 Apr 2004 16:34:36 +0000 (16:34 +0000)]
=== Released 2.4.1 ===

2004-04-30  Matthias Clasen  <mclasen@redhat.com>

* === Released 2.4.1 ===

* configure.in: Version 2.4.1, interface age 1.

* NEWS: Updates

21 years agoMake sure the static string is long enough. (#136323, Morten Welinder)
Matthias Clasen [Fri, 30 Apr 2004 04:21:42 +0000 (04:21 +0000)]
Make sure the static string is long enough. (#136323, Morten Welinder)

Fri Apr 30 00:19:11 2004  Matthias Clasen  <maclas@gmx.de>

* xdgmimemagic.c (_xdg_mime_magic_read_a_number): Make sure
the static string is long enough.  (#136323, Morten Welinder)

21 years agoFixes #140412.
Federico Mena Quintero [Thu, 29 Apr 2004 23:13:50 +0000 (23:13 +0000)]
Fixes #140412.

2004-04-29  Federico Mena Quintero  <federico@ximian.com>

Fixes #140412.

* gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): New
function; moved the code over from
remove_bookmark_button_clicked_cb().
(remove_selected_bookmarks): Now, getting a non-removable bookmark
is not an error, as we may be called as a result of hitting the
Delete key.
(shortcuts_key_press_event_cb): New handler; delete the bookmark
if the user presses Backspace, Delete, or KP_Delete.

21 years agoUse _gtk_action_emit_activate() instead of directly emitting the activate
Matthias Clasen [Thu, 29 Apr 2004 21:36:30 +0000 (21:36 +0000)]
Use _gtk_action_emit_activate() instead of directly emitting the activate

2004-04-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaction.c (closure_accel_activate): Use
_gtk_action_emit_activate() instead of directly
emitting the activate signal.  (#141429, Jody Goldberg)

* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Warn people when the accelerator can not be
parsed.  (#141429, Jody Goldberg)

21 years agoAdded an .gtkrc-2.0 example of how to actually change the key bindings.
Federico Mena Quintero [Thu, 29 Apr 2004 21:13:12 +0000 (21:13 +0000)]
Added an .gtkrc-2.0 example of how to actually change the key bindings.

2004-04-29  Federico Mena Quintero  <federico@ximian.com>

* gtk/tmpl/gtkfilechooser.sgml: Added an .gtkrc-2.0 example of how
to actually change the key bindings.

21 years agoAdd a missing cat. (#141070, Chris Sherlock)
Matthias Clasen [Thu, 29 Apr 2004 14:12:20 +0000 (14:12 +0000)]
Add a missing cat. (#141070, Chris Sherlock)

2004-04-29  Matthias Clasen  <mclasen@redhat.com>

* tests/testentrycompletion.c (main): Add a missing
cat.  (#141070, Chris Sherlock)

* gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
variable.  (#141022, Chris Sherlock)

* gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
cast.  (#141013, Chris Sherlock)

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
unused variable.  (#141011, Chris Sherlock)

21 years agoPlug memory leak. (#140775, John Ehresman)
Tor Lillqvist [Thu, 29 Apr 2004 10:06:12 +0000 (10:06 +0000)]
Plug memory leak. (#140775, John Ehresman)

2004-04-29  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
leak. (#140775, John Ehresman)

21 years agoUse depth - 1 to index the cached gcs, not depth. (#139494)
Matthias Clasen [Thu, 29 Apr 2004 05:14:52 +0000 (05:14 +0000)]
Use depth - 1 to index the cached gcs, not depth. (#139494)

Thu Apr 29 01:09:50 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
to index the cached gcs, not depth.  (#139494)

21 years agoDocs typo fix.
Matthias Clasen [Wed, 28 Apr 2004 20:02:13 +0000 (20:02 +0000)]
Docs typo fix.

2004-04-28  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.

21 years agoUpdated Hungarian translation.
Andras Timar [Tue, 27 Apr 2004 15:19:06 +0000 (15:19 +0000)]
Updated Hungarian translation.

2004-04-27  Andras Timar  <timar@gnome.hu>

* hu.po: Updated Hungarian translation.

21 years agoUpdated Catalan translation.
Jordi Mallach [Tue, 27 Apr 2004 11:24:56 +0000 (11:24 +0000)]
Updated Catalan translation.

21 years agoUpdated German translation.
Christian Neumair [Sun, 25 Apr 2004 15:34:43 +0000 (15:34 +0000)]
Updated German translation.

21 years agoFix cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
Soeren Sandmann [Sun, 25 Apr 2004 13:42:59 +0000 (13:42 +0000)]
Fix cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).

Sun Apr 25 15:36:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).

21 years agoUpdated the Greek translation
Kostas Papadimas [Sun, 25 Apr 2004 08:59:12 +0000 (08:59 +0000)]
Updated the Greek translation

21 years agoUpdated French translation.
Christophe Merlet [Sat, 24 Apr 2004 19:44:59 +0000 (19:44 +0000)]
Updated French translation.

21 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 24 Apr 2004 12:06:47 +0000 (12:06 +0000)]
Updated Spanish translation.

2004-04-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

21 years agoMinor typo in previous commit.
Theppitak Karoonboonyanan [Sat, 24 Apr 2004 10:04:12 +0000 (10:04 +0000)]
Minor typo in previous commit.

21 years agoPatch to add support for string conversion callbacks to
Theppitak Karoonboonyanan [Sat, 24 Apr 2004 09:58:48 +0000 (09:58 +0000)]
Patch to add support for string conversion callbacks to
GtkIMContextXIM (#101814)

21 years ago2004-04-24 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Sat, 24 Apr 2004 01:36:28 +0000 (01:36 +0000)]
2004-04-24 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

21 years agoCorrectly initialize targets. (#139883, John Finlay)
Matthias Clasen [Fri, 23 Apr 2004 20:01:53 +0000 (20:01 +0000)]
Correctly initialize targets. (#139883, John Finlay)

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly
initialize targets.  (#139883, John Finlay)

21 years agoRemove excessive casts from examples. (#139387, Olexiy Avramchenko)
Matthias Clasen [Fri, 23 Apr 2004 19:48:08 +0000 (19:48 +0000)]
Remove excessive casts from examples. (#139387, Olexiy Avramchenko)

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkdialog.sgml:
* gtk/tmpl/gtkeditable.sgml:
* gtk/tmpl/gtkfilesel.sgml:
* gtk/tmpl/gtkmain.sgml:
* gtk/tmpl/gtkmenu.sgml:
* gtk/tmpl/gtkmessagedialog.sgml:
* gtk/tmpl/gtktogglebutton.sgml: Remove excessive
casts from examples.  (#139387, Olexiy Avramchenko)

21 years agoSmall doc improvement.
Matthias Clasen [Fri, 23 Apr 2004 19:39:34 +0000 (19:39 +0000)]
Small doc improvement.

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkdraw.c (gdk_draw_drawable): Small doc improvement.

21 years agoDon't recommend gtk_tree_row_reference_new_proxy(). (#138309, Tim-Philipp
Matthias Clasen [Fri, 23 Apr 2004 19:06:02 +0000 (19:06 +0000)]
Don't recommend gtk_tree_row_reference_new_proxy(). (#138309, Tim-Philipp

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
Don't recommend gtk_tree_row_reference_new_proxy().  (#138309,
Tim-Philipp Müller)

21 years agoRemove an excessive g_return_if_fail().
Matthias Clasen [Fri, 23 Apr 2004 18:40:08 +0000 (18:40 +0000)]
Remove an excessive g_return_if_fail().

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data):
Remove an excessive g_return_if_fail().

21 years agoFix an example. (#138966, Tim-Philipp Müller)
Matthias Clasen [Fri, 23 Apr 2004 18:04:38 +0000 (18:04 +0000)]
Fix an example. (#138966, Tim-Philipp Müller)

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/migrating-GtkAction.sgml: Fix an example.
(#138966, Tim-Philipp Müller)